import request from '@/plugins/request';
import setting from "@/setting";
//用户新增
export function userAdd(data) {
    return request({
        url:'/home/user/user/add',
        method: 'post',
        data
    });
}
//用户编辑
export function userEdit(data) {
    return request({
        url:'/home/user/user/update',
        method: 'post',
        data
    });
}
//用户删除
export function userDelete(data) {
    return request({
        url:'/home/user/user/delete',
        method: 'post',
        data
    });
}
//用户详情
export function userInfo(data) {
    return request({
        url:'/home/user/user/info',
        method: 'post',
        data
    });
}
//用户分页列表
export function userList(data) {
    return request({
        url:'/home/user/user/listPage',
        method: 'post',
        data
    });
}
//监管单位
export function orgList(data) {
    return request({
        url:'/home/org/org/list',
        method: 'post',
        data
    });
}
//用户修改密码
export function updatePassword(data) {
    return request({
        url:'/home/user/user/updatePassword',
        method: 'post',
        data
    });
}
//逾期设置
export function overdueConfigSave(data) {
    return request({
        url:'/home/overdue/overdue/configSave',
        method: 'post',
        data
    });
}
//逾期设置列表
export function coverdueCnfigList(data) {
    return request({
        url:'/home/overdue/overdue/configList',
        method: 'post',
        data
    });
}
